job RunHello(list inputs) { 
  @{"echo \"Test\""};
}

void main(list args) {
  list my_servers = [["host"=>"localhost",
                      "user"=>"dummy",
                      "password"=>"dummypw"
                     ]];
                     
  connect my_servers;
  
  list output;
  int test_wait = push RunHello, null, null, output;
  
  wait test_wait;

  for (int i = 0; i < length output; i = i + 1) {
    if ((string)((map)(output[i]))["stderr"] == "") {
      print "%s\n" % [(string)((map)(output[i]))["stdout"]];
    }
  }
}
